package com.example.HeadFirstDemo.Factory;

public class BenzFactory implements CarFactory {
    public Car createCar() {
        return new Benz();
    }
}
